Skip to content

Adding default classes to colormaps#922

Merged
martinRenou merged 1 commit intogeojupyter:mainfrom
nakul-py:default-classes
Nov 4, 2025
Merged

Adding default classes to colormaps#922
martinRenou merged 1 commit intogeojupyter:mainfrom
nakul-py:default-classes

Conversation

@nakul-py
Copy link
Collaborator

@nakul-py nakul-py commented Sep 11, 2025

Description

Adding default classes for hsv, picnic, cubehelix, and rainbow-soft so they work like the other colormaps. These colormaps were previously not in use because they require 11 and 16 classes, respectively (with cubehelix needing 16), while we were using a default of 9. With these changes, all colormaps should now function correctly, and these four now have their own default classes.

default-classes.mp4

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--922.org.readthedocs.build/en/922/
💡 JupyterLite preview: https://jupytergis--922.org.readthedocs.build/en/922/lite

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch nakul-py/jupytergis/default-classes

@github-actions
Copy link
Contributor

github-actions bot commented Sep 11, 2025

Integration tests report: appsharing.space

@martinRenou martinRenou added the enhancement New feature or request label Nov 4, 2025
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat, thanks!

@martinRenou martinRenou merged commit 1411199 into geojupyter:main Nov 4, 2025
14 checks passed
@nakul-py nakul-py deleted the default-classes branch November 4, 2025 14:43
nakul-py added a commit to nakul-py/jupytergis that referenced this pull request Nov 5, 2025
HaudinFlorence pushed a commit to HaudinFlorence/jupytergis that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants